package cn.bob.product.domain;

import java.math.BigDecimal;
import java.util.Date;
import cn.bob.basic.domain.BaseDomain;
import cn.bob.org.domain.Shop;
import cn.bob.user.domain.User;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author bob
 * @since 2022-11-04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductStaycheck extends BaseDomain{
    /**
     * 服务名称
     */
    private String name;
    /**
     * 售价
     */
    private BigDecimal saleprice;
    /**
     * 状态：0待接单 1已接单 -1取消订单
     */
    private Long state;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createtime =new Date();
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Long shopId;
    private Long userId;
    private Long productId;

    private Shop shop;
    private User user;

}
